package yyx;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: YKH
 * Date: 2023-06-02
 * Time: 16:09
 */
public class Enemy extends Country{
    Integer hostility;//敌意
    List<Country> allyList;//盟友列表

    @Override
    public void showInfo() {
        System.out.println("敌国名称: " + this.name);
        System.out.println("敌国领土: " + this.territory);
        System.out.println("敌国军队: " + this.army);
        System.out.println("敌国贸易: " + this.trade);
        System.out.println("敌意: " + this.hostility);
        System.out.println("盟友数量: " + this.allyList.size());
    }

    //调整敌意
    public void adjustHostility(){

    }
//    结盟或解盟
    public void makeOrBreakAlliance(){

    }
//    发动战争
    public void startWar(){

    }
}
